import { FormGroup } from '@angular/forms';

export interface FormConfiguration {
    formControlId: string;
    formGroupReference: FormGroup | null;

    required?: boolean;

    qaPrefix: string;

    inputClass?: string;
    iconLabel?: string | null;
    translationKey?: string | null;
    placeholderTranslationKey?: string | null;

    options?: FormOptions[] | null;
    showArrow?: boolean;

    maxlength?: number;
    minlength?: number;
    maxlines?: number;
    step?: number;
    ignoreDotsOnCount?: boolean;

    showLabel?: boolean;
    column?: boolean;
}

export interface FormOptions {
    key: string;
    value: string;
}
